import request from '@/utils/request'

// 查询宣传信息删除列表
export function listPropagandaDeleteRecord(query) {
  return request({
    url: '/kyga/propagandaDeleteRecord/list',
    method: 'get',
    params: query
  })
}

// 查询宣传信息删除详细
export function getPropagandaDeleteRecord(id) {
  return request({
    url: '/kyga/propagandaDeleteRecord/' + id,
    method: 'get'
  })
}

// 新增宣传信息删除
export function addPropagandaDeleteRecord(data) {
  return request({
    url: '/kyga/propagandaDeleteRecord',
    method: 'post',
    data: data
  })
}

// 修改宣传信息删除
export function updatePropagandaDeleteRecord(data) {
  return request({
    url: '/kyga/propagandaDeleteRecord',
    method: 'put',
    data: data
  })
}

// 删除宣传信息删除
export function delPropagandaDeleteRecord(id) {
  return request({
    url: '/kyga/propagandaDeleteRecord/' + id,
    method: 'delete'
  })
}

// 导出宣传信息删除
export function exportPropagandaDeleteRecord(query) {
  return request({
    url: '/kyga/propagandaDeleteRecord/export',
    method: 'get',
    params: query
  })
}